home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 5: The Fifth Dimension
/
17 Bit - The Fifth Dimension (1995)(17 Bit Software)[!].iso
/
files
/
3414a.dms
/
3414a.adf
/
3.0bUpdate
/
Macros.LHA
/
FontAnalyzerV2.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-09-20
|
3KB
|
52 lines
/* $VER: FontAnalyzerV2.rexx 1.0 (20.9.94)
Copyright 1994 Soft-Logik Publishing Corporation
May not be distributed without Soft-Logik Publishing Corporation's express written permission */
OPTIONS RESULTS
TRACE OFF
/* Make sure rexx support is opened */
IF ~SHOW('L','rexxsupport.library') THEN
CALL ADDLIB('rexxsupport.library',0,-30)
ADDRESS 'PAGESTREAM'
;GIVE INSTRUCTIONS
allocarexxrequester '"Analyze PageStream2 FontList File"' 592 111
reqhandle=result
addarexxgadget reqhandle EXIT 12 94 70 label "_Ok"
Okhandle=result
addarexxgadget reqhandle EXIT 510 94 70 label "_Cancel"
Cancelhandle=result
addarexxgadget reqhandle TEXT 8 10 576 border none string "'This macro is used to ensure PageStream3 can recognize the fonts used'"
addarexxgadget reqhandle TEXT 8 20 576 border none string "'in your PageStream 2 documents. It will open a file requester for you'"
addarexxgadget reqhandle TEXT 8 30 576 border none string "'to select your PageStream2 FONTLISTv2 file. The macro will run the'"
addarexxgadget reqhandle TEXT 8 40 576 border none string "'FontListv2Analyzer utility included with PageStream3 and will append'"
addarexxgadget reqhandle TEXT 8 50 576 border none string "'the names of your fonts to the SoftLogik:Filters/PageStream2.fontlist'"
addarexxgadget reqhandle TEXT 8 60 576 border none string "'file. Your FONTLISTv2 file will be in your PageStream2 PSFonts drawer,'"
addarexxgadget reqhandle TEXT 8 70 576 border none string "'or wherever you set the path for fonts with the Set/Save Paths command.'"
doarexxrequester reqhandle
action=result
freearexxrequester reqhandle
;ANALYZE FONTLIST
if action=okhandle then do
getfile TITLE '"Select FONTLISTv2 File"' load FILE 'FONTLISTv2' POSBUTTON 'Ok'
if rc=0 then do
'lockinterface true'
path=result
address command 'PageStream3:FontListv2Analyzer 'path
allocarexxrequester '"Done!"' 528 81
reqhandle=result
addarexxgadget reqhandle EXIT 446 64 70 label "_Exit"
addarexxgadget reqhandle TEXT 8 10 512 border none string "'Your PageStream2 FONTLISTv2 file has been analyzed, and the'"
addarexxgadget reqhandle TEXT 8 20 512 border none string "'list of your fonts has been appended to the SoftLogik:Filters/'"
addarexxgadget reqhandle TEXT 8 30 512 border none string "'PageStream2.fontlist file. You are now ready to open your'"
addarexxgadget reqhandle TEXT 8 40 512 border none string "'version 2 documents in PageStream 3.0.'"
doarexxrequester reqhandle
freearexxrequester reqhandle
'lockinterface false'
end
end